<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>Homework assignment 1 appendix</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css" integrity="sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X" crossorigin="anonymous">

    <!-- The loading of KaTeX is deferred to speed up page rendering -->
    <script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.js" integrity="sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4" crossorigin="anonymous"></script>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/default.min.css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js//10.5.0/highlight.min.js"></script>
    <script>hljs.initHighlightingOnLoad();</script>
    <link rel="stylesheet" href="https://unpkg.com/marx-css/css/marx.min.css">
    <style>
      .katex { font-size: 2em; }
    </style>
  </head>
  
  <body>
    <main>
      <h1>Homework assignment 1 <small id="code"></small></h1>
      <div id="err" hidden></div>
      <div id="response" hidden>
      <h2>Exercise 1</h2>
      <div id="latex"></div>
      <h2>Exercise 2</h2>
<pre><code class="language-python" id="python">
</code></pre>
      </div>
    <script>
      const codes = {"793c28": ["JCRcZnJhY3sxMyBcY2RvdCAoNiAtIDUpfXsxfSArIFxmcmFjezE1fXs0fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICsgKDEwIC0geSkgPCAoOSAtIDEzKSAqICgxICsgMTMpCg=="], "4fd97e": ["JCRcZnJhY3sxMCAtICg3IFxjZG90IDEpfXtcZnJhY3sxMX17OX0gXGNkb3QgNn0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAzICogKDExICogeSkgPD0gKDcgKyAxMikgKiAoMiAtIHgpCg=="], "eb203f": ["JCRcZnJhY3s0IFxjZG90IDh9ezE0fSArICgoMiBcY2RvdCA2KSArIDEzKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCAqIDgpIC0gKHkgKyA3KSA8ICgxNSArIHgpIC0geAo="], "a48bc7": ["JCQoKDkgLSAxNCkgKyA3KSArICgxMSBcY2RvdCAoMTQgLSAxMCkpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCAtIHkpIC0gKDExICogNCkgPj0geSAtICg0ICogOSkK"], "750f61": ["JCQoMTEgKyA0KSBcY2RvdCAoXGZyYWN7M317MTJ9IFxjZG90ICgxMCArIDIpKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB5ICsgKHkgLSAzKSA8ICgxMiAtIHgpICogKHkgKiB4KQo="], "e08679": ["JCQoKDggKyAxNSkgXGNkb3QgKDcgXGNkb3QgOCkpIFxjZG90ICg2IFxjZG90IDkpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNiAtIHkpICsgKDMgKyB5KSA8PSAoNiAtIHkpICogeAo="], "a10c86": ["JCQoXGZyYWN7MTN9ezl9IC0gXGZyYWN7Mn17MTF9KSBcY2RvdCAoOSBcY2RvdCA3KSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTQgLSAyKSArICh4IC0geSkgPT0geSArICg4ICsgeSkK"], "17d52c": ["JCRcZnJhY3sxMCArIDh9ezEyfSArICg4IC0gKDIgKyAzKSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICsgKHggKyB5KSA+PSAoNiAtIDIpICsgKDE0ICogeSkK"], "241d9b": ["JCRcZnJhY3s3fXsxMSArIDE1fSAtIChcZnJhY3s4fXszfSBcY2RvdCAxNCkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSArIDgpIC0gKDMgLSB4KSA8ICh5IC0gMTIpICogeAo="], "6b93fe": ["JCRcZnJhY3tcZnJhY3s2fXs1fX17OH0gXGNkb3QgKCgzICsgOCkgXGNkb3QgMTMpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMiAqIDYpICogeCA+ICgyICsgOSkgLSAoMSAtIHkpCg=="], "385046": ["JCRcZnJhY3s2ICsgKDExIFxjZG90IDgpfXs1ICsgKDE0ICsgNCl9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMSArIDExKSAtIHggPCAoMTMgKiB4KSArICh4ICogNikK"], "37d264": ["JCQoNiBcY2RvdCAoMTMgXGNkb3QgNSkpIFxjZG90ICgoMTAgKyA3KSArIDMpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4IC0gKDIgLSB5KSA9PSAoMiArIDUpICsgKDExIC0geCkK"], "91642b": ["JCQoNSArIDgpIFxjZG90IChcZnJhY3s1fXsxMn0gKyAoNSBcY2RvdCAxNCkpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTAgKyAxNCkgKiAoeCAtIDkpID4gKHkgLSB4KSArIHgK"], "a4cf75": ["JCQoMTQgXGNkb3QgKDEwIC0gMTQpKSArIFxmcmFjezMgKyA0fXs5fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICogKDExIC0geCkgPj0gKDEwICogNSkgKyAoMTEgKyB5KQo="], "06c32b": ["JCRcZnJhY3soOSArIDEwKSBcY2RvdCAoKDE1IFxjZG90IDkpICsgMTApfXs4fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNyAqIDEzKSAqICh5IC0gMTApID09ICgxMiAtIHgpIC0geAo="], "9d47a2": ["JCRcZnJhY3soNyArIDUpICsgOX17MyBcY2RvdCAoOCArIDEzKX0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICogKDExICsgeCkgPCAoMTQgKyB4KSAtICgxMyAqIHgpCg=="], "63e70a": ["JCQoOCAtIFxmcmFjezV9ezZ9KSBcY2RvdCAoKDIgLSA1KSBcY2RvdCAyKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNiArIDEyKSAtICgxMyAtIDEyKSA8PSB5IC0gKDIgKyAzKQo="], "6437be": ["JCRcZnJhY3tcZnJhY3sxNH17Nn0gKyAoMTAgXGNkb3QgMTUpfXs4IFxjZG90IDF9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoOSArIDEpICsgKHggKyAxMykgPCAoOCAtIDUpIC0geAo="], "4f16cd": ["JCRcZnJhY3sxM317OCArIDEzfSArIChcZnJhY3s1fXsxNH0gLSAxMikkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTUgKiAyKSAtIHkgPT0gKDYgLSB4KSArICh4ICsgMSkK"], "916e50": ["JCQoMTQgLSBcZnJhY3sxMH17Mn0pIC0gXGZyYWN7NX17NSArIDl9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCAqIDMpICsgKDEzIC0gMTIpID49ICgxMSArIHgpIC0geQo="], "efcdb4": ["JCRcZnJhY3s5IFxjZG90IDE1fXsxMSAtIDE0fSArICgxNCBcY2RvdCAxMikkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAxMiAtICh5IC0gMTEpIDw9ICgzICogeCkgLSAoMTAgKiAxMykK"], "5427fb": ["JCRcZnJhY3tcZnJhY3s1fXsxMH0gLSA4fXsxNSAtICgxNSBcY2RvdCAxMSl9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTIgLSB4KSAtICg2ICogMikgPCAoNyArIDYpICsgOQo="], "c7d38a": ["JCRcZnJhY3soMyAtIDYpIFxjZG90ICg5IFxjZG90ICgxNSBcY2RvdCAxNCkpfXsxM30kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTEgKiB4KSAqICg3ICsgMikgPiB5ICsgKHkgKiAxMykK"], "f50a3b": ["JCRcZnJhY3s1fXs0IFxjZG90IDN9ICsgKDEyICsgKDQgKyA2KSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICsgKDExICogeSkgPj0gKHggKyA2KSAqICgxMCAqIDExKQo="], "14cb6a": ["JCQoNCAtIDExKSArICgoOCBcY2RvdCAxNCkgKyBcZnJhY3sxNH17OH0pJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSAtIHgpIC0geCA8PSAoMTQgLSB5KSArICg0ICogMTUpCg=="], "5368eb": ["JCQoXGZyYWN7N317OH0gKyAoOSArIDIpKSArICg3IC0gMikkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCArIDcpICsgeCA+PSAoNSAtIDIpIC0gKDcgKiAxNSkK"], "d8f362": ["JCQoKDggLSA2KSArIDIpICsgKDQgXGNkb3QgKDEgLSAxMCkpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB5ICsgKDEyICsgeSkgPj0gKDEwICsgeCkgLSAoeCArIHkpCg=="], "f762a9": ["JCQoKDMgLSA5KSAtIDUpICsgKDExIFxjZG90ICgxNSAtIDExKSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSArIHgpIC0gNyA8ICh4ICogeSkgKyAoMiArIDkpCg=="], "6ba943": ["JCQoKDEzIFxjZG90IDEpIC0gMTMpIC0gKDEzIC0gKDcgKyA0KSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTQgLSB5KSAqICh5ICogMykgPj0geSAqICgxMSAtIDQpCg=="], "d46a28": ["JCQoKDggLSA2KSAtIFxmcmFjezE0fXsxMH0pICsgXGZyYWN7MTB9ezd9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4IC0gKDggLSB5KSA+ICgxMiArIHkpIC0gKHkgKyA2KQo="], "e75fc1": ["JCQoKDggXGNkb3QgNykgLSAxNCkgLSAoOCAtICgxMiBcY2RvdCAyKSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoOSArIDE0KSArICh5IC0gMykgPiAoeCAtIHkpICogeQo="], "27e86b": ["JCQoMTEgLSAoMyArIDEyKSkgXGNkb3QgKDIgLSBcZnJhY3sxMH17MTJ9KSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNyAqIHgpICsgKHggLSB5KSA9PSAoOSArIDExKSArIHkK"], "c98742": ["JCRcZnJhY3soMyAtIDkpIC0gKDEyIFxjZG90IDEwKX17MTIgXGNkb3QgMn0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTAgKyAxMSkgKiAoeCAqIHkpID49ICh4IC0gNSkgKiB5Cg=="], "157fae": ["JCQoNCArIDE0KSBcY2RvdCBcZnJhY3tcZnJhY3sxfXs5fX17MTMgKyA3fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAxNSAqICh5ICogeCkgPD0gKDEzIC0geCkgKyAoNSAtIHkpCg=="], "84125a": ["JCQoMTUgLSAoMTIgLSAxNSkpIC0gKDEzICsgKDE0IFxjZG90IDcpKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSAqIDQpICsgKDExICsgeCkgPCAoeSArIDEwKSAtIHkK"], "92abf4": ["JCRcZnJhY3soMTAgLSA0KSArIDEyfXs4ICsgXGZyYWN7MTJ9ezJ9fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSAqIDEzKSAqICh4ICsgeSkgPD0geSAtICgxMSAqIDE0KQo="], "2918de": ["JCQoNSArIDEwKSBcY2RvdCBcZnJhY3s3ICsgMX17MyAtIDExfSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNiArIDEpICsgeSA+PSAoeCAqIDcpIC0gKDUgKiB5KQo="], "4a5718": ["JCQoKDggKyA0KSArIDE0KSAtICgoMTAgKyAxNCkgKyA3KSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTAgKiB5KSAtICh5IC0gNikgPj0geSArICgxNSArIDExKQo="], "c13502": ["JCRcZnJhY3s1IC0gXGZyYWN7MTJ9ezE0fX17NSBcY2RvdCAoMTMgLSAxNSl9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTQgLSAxMCkgLSA5ID49ICgxMyArIDMpICogKHggKyAyKQo="], "abacab": ["JCRcZnJhY3sxMCAtICg1IFxjZG90IDYpfXsxMSAtICgyIC0gMTQpfSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNSAqIDEwKSAqICgzICsgeCkgPiB4ICogKHggKiA5KQo="], "ea56fb": ["JCQoMiBcY2RvdCAoNSArIDEwKSkgLSAoXGZyYWN7MTF9ezEyfSAtIDEzKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNiAtIDkpIC0gKHkgKiA2KSA9PSB4ICogKHggKyB5KQo="], "31284d": ["JCQoMTUgKyAoNCArIDEwKSkgKyBcZnJhY3s1fXs2IC0gNH0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTIgLSAxNCkgKyB4ID49ICh5ICogeCkgKiAoeSAqIHgpCg=="], "da5f29": ["JCRcZnJhY3sxMCBcY2RvdCA4fXszIC0gMTF9IFxjZG90ICg2IC0gMTApJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCAqIDEyKSAtICgxMyArIHkpID4geCArICgxNCAqIHgpCg=="], "2f6b01": ["JCQoMyAtIDEpIC0gKFxmcmFjezV9ezE0fSBcY2RvdCAoOCBcY2RvdCA1KSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiA0IC0gKDE1ICsgeCkgPD0gKDYgKiAxKSAqICh4ICsgeSkK"], "a697cb": ["JCRcZnJhY3sxMCBcY2RvdCAoMTMgLSAxMCl9ezE0fSAtICgxMCArIDMpJCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCArIDgpIC0gKHggKyA1KSA8IHggKyAoeSAtIDUpCg=="], "dbe174": ["JCRcZnJhY3sxMCArIDEzfXsoMTIgLSA1KSAtIFxmcmFjezF9ezJ9fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCArIDEpICsgKDkgLSAxMykgPCB4ICogKDE1ICsgeSkK"], "80ef9b": ["JCRcZnJhY3tcZnJhY3s2fXs3fSAtIDJ9eygxMSArIDEzKSArIDV9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNSAtIDExKSAqICgxNCAtIDQpIDwgKHggLSB5KSArIDExCg=="], "8ca057": ["JCRcZnJhY3sxfXszfSBcY2RvdCBcZnJhY3syIFxjZG90ICgxMCAtIDIpfXsxfSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMiAqIDMpIC0gKDE0ICogOSkgPiAoMiAqIDExKSAtIHgK"], "90f187": ["JCQoMTMgKyAoMyAtIDEzKSkgKyAoOCBcY2RvdCAoNiAtIDE0KSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICogKHggKiB5KSA8PSAoMiAtIDEzKSAtICh5ICsgOSkK"], "65ba21": ["JCRcZnJhY3sxNX17Mn0gLSAoKDcgXGNkb3QgNikgKyBcZnJhY3sxNX17MTF9KSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSAqIHgpICsgeSA+ICgzICsgMikgKiAoeCAtIDExKQo="], "c093e8": ["JCQoXGZyYWN7MTJ9ezR9IFxjZG90ICg5ICsgOCkpIC0gKDE1IC0gOCkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4ICogKDkgKiA0KSA+PSAoOSAqIDEpIC0gKHggLSA1KQo="], "8b2736": ["JCRcZnJhY3s3fXs2IC0gN30gLSBcZnJhY3sxNX17NSBcY2RvdCAxMX0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoNyAtIHkpIC0gKDUgKyB4KSA8PSB5ICsgKDE0ICsgeSkK"], "fab1e7": ["JCRcZnJhY3syfXszfSArIChcZnJhY3s1fXs3fSAtICg1ICsgMTIpKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMTUgLSB4KSAqICgxMiAtIDgpID4gKDEyIC0geCkgKiB4Cg=="], "91a5c3": ["JCQoMyAtIDExKSBcY2RvdCAoKDYgKyAzKSArICgxMSArIDYpKSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoOSAqIDMpICogKDggLSAxNCkgPCB4ICogKDMgKiAxKQo="], "82da9b": ["JCQoKDMgLSAxKSBcY2RvdCA1KSArIFxmcmFjezJ9ezE1IC0gNX0kJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMiAtIHgpICogKHggLSB5KSA8PSAoMTAgKiAxMSkgKyB4Cg=="], "cad67e": ["JCQoNyAtIDgpICsgXGZyYWN7MTAgLSA2fXsxMCArIDR9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMyAtIHkpICogeCA+PSAoeCAtIDEpIC0gKHkgKyAxMSkK"], "d2918f": ["JCRcZnJhY3s1IFxjZG90ICgxMyArIDQpfXsxfSAtICgzICsgMikkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB4IC0gKDUgLSA3KSA8PSAoeSArIDgpICogKDggLSA5KQo="], "230b7e": ["JCQoKDkgXGNkb3QgMTIpIFxjZG90ICg1ICsgOSkpICsgKDUgKyA2KSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeSAtIDUpIC0geCA9PSAoMTMgKiB5KSArICh4ICsgMykK"], "2ec4b9": ["JCRcZnJhY3szIC0gKDUgLSA5KX17KDEyIC0gNCkgLSA5fSQkCg==", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiB5ICogKHkgKiA4KSA8PSAoNCAtIDE0KSAqICh4ICogMTQpCg=="], "1df523": ["JCQoKDEzICsgNikgXGNkb3QgNykgKyAoMTAgKyAoNyBcY2RvdCA5KSkkJAo=", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoeCAtIDkpICogMTAgPj0gKDQgKyAxKSAqICh4ICsgNSkK"], "84e207": ["JCQoKDYgLSAxMikgXGNkb3QgKDkgKyAxMykpICsgXGZyYWN7Mn17MTN9JCQK", "ZGVmIGV4Myh4LCB5KToKICAgIHJldHVybiAoMyArIDExKSAtIHggPiAoOCArIHgpICsgKDE1ICogeCkK"]};
      var GET_VARS = {};
      // source: https://stackoverflow.com/questions/12049620/
      if(document.location.toString().indexOf('?') !== -1) {
          var query = document.location
                        .toString()
                        // get the query string
                        .replace(/^.*?\?/, '')
                        // and remove any existing hash string (thanks, @vrijdenker)
                        .replace(/#.*$/, '')
                        .split('&');

          for(var i=0, l=query.length; i<l; i++) {
            var aux = decodeURIComponent(query[i]).split('=');
            GET_VARS[aux[0]] = aux[1];
          }
      }

      function do_update() {
        const latex_elem = document.getElementById('latex');
        const response = document.getElementById('response');
        const code_elem = document.getElementById('code');
        const py_elem = document.getElementById('python');
        const err_elem = document.getElementById('err');
        var user_code = GET_VARS["code"];
        if (user_code != undefined) {
            user_code = user_code.toLowerCase().trim();
        }
        const code = codes[user_code];
        if (code != undefined) { 
          code_elem.innerHTML = "(" + user_code +  ")";
          const f = atob(code[0]);
          const fo = f.substring(2, f.length - 3);
          katex.render(fo, latex_elem, {
            displayMode: true,
            throwOnError: false
          });
          err.setAttribute('hidden', '');
          response.removeAttribute('hidden');
          py_elem.innerHTML = atob(code[1]);
          hljs.highlightBlock(py_elem);
          console.log("User code:" + user_code);
        } else {
          err.removeAttribute('hidden');
          err.innerHTML = "<h2 style=\"color: red\">Unknown code " + user_code + "</h2><h3>Please, contact the instructor, and send the full URL of this page.</h3>";
          response.setAttribute('hidden', '');
        }
        return {"valid": code != undefined, "code": user_code};
      }
      function update_text(event) {
        const res = do_update();
        if (!res["valid"]) {
          alert("Unknown code: " + res["code"] + "\n\nPlease contact the instructor.");
        }
        event.preventDefault();
      }
      window.onload = do_update;
    </script>

</main>
  </body>
</html>
